package com.example.ttt.jcomp;

import com.example.ttt.functions.JukeCopy;
import lombok.Data;
import org.springframework.stereotype.Component;
import javax.swing.*;

@Data
@Component
public class JFrameComponent {

    private JFrame jFrame = new JFrame("TT Music");
    private JPanel contentPane = new JPanel();
    private JDesktopPane leftdesktopPane = new JDesktopPane();
    private JLabel avatar = new JLabel("");
    private JLabel moreMusic = new JLabel("更多音乐");
    private JLabel myPlaylist = new JLabel("我的歌单");
    private JLabel myLiking = new JLabel("我的喜欢");
    private JLabel localMusic  = new JLabel("本地音乐");
    private JDesktopPane buttonDesktopPane  = new JDesktopPane();
    private JLabel prevsionSong = new JLabel("");
    private JLabel nextSong = new JLabel("");
    private JLabel playerStop = new JLabel("");
    private JSlider slider = new JSlider(0, 100, 0);
    private JLabel mylab5 = new JLabel("当前没有播放音乐");
    private JTable table11 = new JTable(0, 2);
    private JScrollPane scrollPane = new JScrollPane(table11);
    private JLabel shuffleplayback = new JLabel("  \u968F\u673A\u64AD\u653E");
    private JLabel bulkoperations = new JLabel("  \u6279\u91CF\u64CD\u4F5C");
    private JLabel musiclibrary = new JLabel("\u97F3\u4E50\u5E93");
    private JLabel scanmusic = new JLabel("\u626B\u63CF\u97F3\u4E50");
    private JLabel musiclocation = new JLabel("\u97F3\u4E50\u4F4D\u7F6E");

    private String[][] rowData;
    private ImageIcon imageIcon;
    private Boolean playActivity = false;

    private JukeCopy jukeCopy;
    // 0 初始状态 1 pause状态 2 播放状态
    private Integer playStatus;
    private JFileChooser jFileChooser;

}
